package report.dao.vo.dashboard;

import report.dao.po.DashboardDO;

public class DashboardVO {
    private String name;
    private String id;
    private String description;
    private String config;
    private String pid;
    private String typeCode;
    private String reportList;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getConfig() {
        return config;
    }

    public void setConfig(String config) {
        this.config = config;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getReportList() {
        return reportList;
    }

    public void setReportList(String reportList) {
        this.reportList = reportList;
    }

    public static DashboardDO do2vo(DashboardDO datao) {
        if (datao == null) {
            return null;
        }
        DashboardDO dashboardVO = new DashboardDO();
        dashboardVO.setId(datao.getId());
        dashboardVO.setName(datao.getName());
        dashboardVO.setPid(datao.getPid());
        dashboardVO.setDescription(datao.getDescription());
        dashboardVO.setConfig(datao.getConfig());
        dashboardVO.setTypeCode(datao.getTypeCode());
        dashboardVO.setReportList(datao.getReportList());
        return dashboardVO;
    }
}
